<?php
/**
 * Created by PhpStorm.
 * User: xiatong
 * Date: 2018/10/4
 * Time: 下午9:34
 */

namespace app\api\model;
use app\common\model\Recharge as RechargeModel;

class Recharge extends  RechargeModel
{
    public function getList(){
        $model = new Recharge();
        $list = $model->where('status',1)->order('recharge_id', 'desc')->select();
        return $list;

    }
}